
#include <string.h>

#define IMAGEACQUISITION_ACTIVE 			0x00000001
#define IMAGEACQUISITION_WAIT				0x00000002
#define IMAGEACQUISITION_TRANSFER			0x00000004
#define IMAGEBUFFERS_FULL					0x00000008
#define SEARCHACQUISITIONSETTINGS_ACTIVE	0x00000010
#define NEWCONFIGURATION_PENDING			0x00000020
#define RESETACQUISITION_PENDING			0x00000040
#define FOCUS_BUSY							0x00000080
#define IRFILTER_BUSY						0x00000100
#define GAINLEVEL_BUSY						0x00000200
#define PREVIEW_MODE_ACTIVE					0x00000400
#define CPU_NOT_READY						0x00000800
#define IMAGESENSOR_NOT_READY				0x00001000
#define OVERTEMPERATURE_PENDING				0x00002000
#define OS_CHECK_AND_UPDATE					0x01000000
#define VA_LOADING							0x02000000
#define MAPPVISION_HMI_ACTIVE				0x08000000

#define FC_OFF   	0
#define FC_RED   	1
#define FC_GREEN 	2
#define FC_BLUE  	3
#define FC_LIME  	4

#define FS_RIGHT 	1
#define FS_BOTTOM 	2
#define FS_LEFT		4
#define FS_TOP		8

#define LED_SYSTEM	0
#define LED_OFF		1
#define LED_RED		2
#define LED_GREEN	3
#define LED_BLUE	4

#define TIMEOUT_INIT 	100000
#define TIMEOUT_ACQ  	100
#define TIMEOUT_PROCESS 1000

typedef void (*ResultHandler) (void*);

